//
//  UIImageView+Extension.m
//  Weibo-OC
//
//  Created by 焦林生 on 15/11/25.
//  Copyright © 2015年 cn.baidu. All rights reserved.
//

#import "UIImageView+Extension.h"

@implementation UIImageView (Extension)

/**
 *  使用图像名称创建UIImageView
 *
 *  @param imageName imageName
 *
 *  @return UIImageView
 */
+ (UIImageView *)initWithImageName:(NSString *)imageName; {
    
    
    return [[UIImageView alloc]initWithImage:[UIImage imageNamed:imageName]];
 
}
@end
